# Contributor: Khem Raj <raj.khem@gmail.com>
# Maintainer: Khem Raj <raj.khem@gmail.com>
pkgname=yoe-kiosk-browser
pkgver=0_git20231118
_gitrev=6e94c4013f4f636a9d65561243e675dff0ae381d
pkgrel=0
pkgdesc="Qt6 WebEngine (Chromium) based browser designed for embedded kiosk (full screen, single app) applications"
url="https://github.com/YoeDistro/yoe-kiosk-browser"
arch="aarch64 x86_64"
license="BSD-3-Clause"
depends="qt6-qtbase qt6-qtdeclarative qt6-qtwebengine qt6-qtwebview qt6-qtvirtualkeyboard"
makedepends="cmake ninja qt6-qtbase-dev qt6-qtdeclarative-dev qt6-qtwebengine-dev qt6-qtwebview-dev"
source="yoe-kiosk-browser-$_gitrev.tar.gz::https://github.com/YoeDistro/yoe-kiosk-browser/archive/$_gitrev.tar.gz"
builddir="$srcdir/$pkgname-$_gitrev"
options="!check" # no test suite

build() {
	cmake -B build -G Ninja
	cmake --build build
}

package() {
	install -Dm755 build/yoe-kiosk-browser -t "$pkgdir"/usr/bin/
}

sha512sums="
adc85d8733c9476cd8be5eeeec2af40f494fbde51d7b72f07a299b2209e057e73f97dfb60cb820e3fec9976df06e179e5b79389c2e511d1791df63f9e0545e21  yoe-kiosk-browser-6e94c4013f4f636a9d65561243e675dff0ae381d.tar.gz
"
